package com.beone.admin.entity;


import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.base.common.BaseModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * @Title 任务附件表 实体类
 * @Author 秦波
 * @Version 1.0 on 2019-05-18
 * @Copyright 贝旺科权
 */
@TableName("t_task_attachment")
public class TaskAttachment extends BaseModel {

    private static final long serialVersionUID = 1L;

	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 任务id
     */
	@TableField("TASK_ID")
	private Integer taskId;
    /**
     * 类型（1：图片；2：视频）
     */
	@TableField("TYPE")
	private Integer type;
    /**
     * 附件名称
     */
	@TableField("NAME")
	private String name;
    /**
     * 路径
     */
	@TableField("URL")
	private String url;
    /**
     * 文件大小（kb）
     */
	@TableField("SIZE")
	private BigDecimal size;
    /**
     * 删除标识
     */
	@TableField("DELETE_TAG")
	private Integer deleteTag;
    /**
     * 创建时间
     */
	@TableField("CREATE_TIME")
	private Date createTime;
    /**
     * 修改时间
     */
	@TableField("UPDATE_TIME")
	private Date updateTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTaskId() {
		return taskId;
	}

	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public BigDecimal getSize() {
		return size;
	}

	public void setSize(BigDecimal size) {
		this.size = size;
	}

	public Integer getDeleteTag() {
		return deleteTag;
	}

	public void setDeleteTag(Integer deleteTag) {
		this.deleteTag = deleteTag;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "TaskAttachment{" +
			", id=" + id +
			", taskId=" + taskId +
			", type=" + type +
			", name=" + name +
			", url=" + url +
			", size=" + size +
			", deleteTag=" + deleteTag +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			"}";
	}
}
